package com.stylefeng.guns.modular.customer.dao;

import com.baomidou.mybatisplus.plugins.Page;
import com.stylefeng.guns.modular.system.model.Purchase;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface PurchaseDao {

    List<Map<String, Object>> getPurchasePage(@Param("page") Page<Purchase> page,@Param("customerCompanyId")Integer customerCompanyId, @Param("customerCompanyName") String customerCompanyName);

    List<Map<String,Object>> selectByCompanyId(@Param("companyId") Integer companyId);
}
